package com.nightsoul.dubbo.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.nightsoul.dubbo.provider.service.ValidationService;
import com.nightsoul.dubbo.validation.ValidationParameter;

@Service(validation="true")
public class ValicationServiceImpl implements ValidationService {

	@Override
	public void save(ValidationParameter parameter) {
		System.out.println("save:" + parameter);
	}

	@Override
	public void update(ValidationParameter parameter) {
		System.out.println("update:" + parameter);
	}

}
